#ifndef __UI_API_H__
#define __UI_API_H__
#include "user_extern.h"

typedef struct _ui{
    void(* draw_progress)(uint8_t x, uint8_t y, int current, int max);
    void(* draw_weather)(uint8_t x, uint8_t y, uint8_t code);
    void(* draw_sysicon)(uint8_t x, uint8_t y, uint8_t code);

    void(* draw_digimon)(uint8_t x, uint8_t y, const char (*digimon)[6]);
    void(* draw_sys_bmp)(uint8_t x, uint8_t y, uint8_t index);
    void(* draw_sys_xin)(uint8_t x, uint8_t y, uint8_t type);
    void(* draw_sys_title)(const char *title);
    void(* draw_digi_shirt)(uint8_t x, uint8_t y, uint8_t type);
    void(* draw_digi_ill)(uint8_t x, uint8_t y);

}UI;
extern UI ui;
#endif